package together.news.common.db;

import java.io.IOException;

public interface DBHandler<T extends CommonData> {
	public  <D extends CommonData> void insert(D data) throws IOException ;
	public String readTemplate(String pageName, String encoding) throws IOException;
	public String readPageDataFile(String pageName, String encoding) throws IOException ;
	public void writerHtmlGenerated(String pageName, String text,String encoding) throws IOException;
	public  void copyTemp2Gen(String sourceFolder) throws IOException;

}
